package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopFlowCurrencyDao;
import com.groupbuying.settleproducer.domain.SettleUshopFlowCurrencyDO;
import com.groupbuying.settleproducer.service.SettleUshopFlowCurrencyService;



@Service
public class SettleUshopFlowCurrencyServiceImpl implements SettleUshopFlowCurrencyService {
	@Autowired
	private SettleUshopFlowCurrencyDao settleUshopFlowCurrencyDao;
	
	@Override
	public SettleUshopFlowCurrencyDO get(String id){
		return settleUshopFlowCurrencyDao.get(id);
	}
	
	@Override
	public List<SettleUshopFlowCurrencyDO> list(Map<String, Object> map){
		return settleUshopFlowCurrencyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopFlowCurrencyDao.count(map);
	}
	
	@Override
	public int save(SettleUshopFlowCurrencyDO settleUshopFlowCurrency){
		return settleUshopFlowCurrencyDao.save(settleUshopFlowCurrency);
	}
	
	@Override
	public int update(SettleUshopFlowCurrencyDO settleUshopFlowCurrency){
		return settleUshopFlowCurrencyDao.update(settleUshopFlowCurrency);
	}
	
	@Override
	public int remove(String id){
		return settleUshopFlowCurrencyDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return settleUshopFlowCurrencyDao.batchRemove(ids);
	}
	
}
